import LoadPage from './loadPage'
import Market from './market'
import Base from './base';
import MainJumpInfo from './component/mainJumpInfo';
import wechatChannel from './component/wechatChannels';

class Account extends Base {
  name = ''
  accountCode = '';
  disabled: boolean = false
  wechatChannel: Array<wechatChannel> = [];
  jumpInfo: Array<MainJumpInfo> = [new MainJumpInfo({})];
  wechatChannels = {
    id: undefined,
    name: '',
    optional: []
  }

  market: Market = new Market({})
  loadPage: LoadPage = new LoadPage({})
  constructor(options: any) {
    super();
    this.init(options);
  }
}

export default Account
